go/types.unifier.enableInterfaceInference (field)

4 uses

	go/types (current package)
		unify.go#L84: 	enableInterfaceInference bool // use shared methods for better inference
		unify.go#L341: 	if ny := asNamed(y); mode&exact == 0 && ny != nil && isTypeLit(x) && !(u.enableInterfaceInference && IsInterface(x)) {
		unify.go#L459: 	if u.enableInterfaceInference && mode&exact == 0 {
		unify.go#L660: 		assert(!u.enableInterfaceInference || mode&exact != 0) // handled before this switch